#include<stdio.h>

int main(void)
{
	char c;
	while( (c=getchar())!='\n')
	{
		if(('a'<=c) && (c<='z' ))
			printf("%c",'a'+'z'-c);
		else
			printf("%c",c);
	}
	return 0;
}
